/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Entidades;

import javax.swing.JOptionPane;

public class Hospital implements IEntidades {
    int telefono;
    String correo;
    String responsable;

    public int getTelefono()                        {return telefono;}
    public void setTelefono(int telefono)           {this.telefono = telefono;}
    public String getCorreo()                       {return correo;}
    public void setCorreo(String correo)            {this.correo = correo;}
    public String getResponsable()                  {return responsable;}
    public void setResponsable(String responsable)  {this.responsable = responsable;}        

    @Override
    public void update() {
        JOptionPane.showMessageDialog(null, "Cruz Roja fue notificada");
    }
}
